package com.lumm.util;

public class Constants {

    public static final String maritalStatus[]={
            "不限",
            "未婚","离异","丧偶","已婚"
    };


    public static int stringIndexOfArray(String target,String[] array){
        for (int i=0;i<array.length;i++)
            if (array[i].equals(target))
                return i;
        return -1;
    }

}
